package com.byedu.parser;

import com.byedu.domain.course.LibraryDO;

import java.io.File;
import java.util.Map;

/**
 * Created by jason on 2017/6/4.
 */
public interface FileParser<T> {

    /**
     * 解析考题文件
     * @param file  考题文件
     * @return
     * @throws Exception
     */
    Map<String,  Object> parseFile(File file, LibraryDO libraryDO) throws Exception;
}
